home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / Re Test < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Test
  2. Sent:        9/10/96 6:27 PM
  3. Received:    9/10/96 6:27 PM
  4. From:        visiondv@a2.mbn.or.jp
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9. At  4:24 PM 96.9.10 -0700, Bob Carpenter wrote:
  10. >This is my second attempt today to send this message to the list,
  11. >so please excuse me if this is redundant.
  12. >
  13. >In the DR5 version of the Developer's Guide, chapter 4 - "Working With Views"
  14. >describes how to adjust subviews by overriding AdjustSubViews. It uses 
  15. >ODFForm as an example. The problem is this is apparently outdated
  16. >because ODFForm's Frame doesn't have an AdjustSubViews method. So,
  17. >I don't understand how the frame adjusts its views. Is it done through
  18. >FrameShapeChanged?
  19. >
  20. >The reason I ask is because I've created a part from the Hello template,
  21. >and then decided I'd like to have subview capability. So, I cloned
  22. >the View class from ODFForm as well as ODFormFrame's CreateSubViews and
  23. >FrameShapeChanged methods. It's working a bit now, but minus any scrollbars.
  24. >And also -  this is the main problem - the view of the content seems anchored
  25. >to the growbox; so that the text content goes out of view if you drag the
  26. >frame large enough. When you drag it smaller it comes back into view.
  27. >
  28. >Any ideas on how to fix this up?  I can email my editor if my description
  29. >above doesn't make sense.
  30. >
  31.  
  32. There's a document named "ODF Developer's Guide Update",  in the same folder  of
  33. the Developer's Guide. You should read it.
  34.  
  35. Keiji Tamaki